home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gKnobSprite, gSendMovie, gCursorReady, gKnobState, gplaybtnsprite, gFNEngBtnSprite, zeoIdle
- zeoIdle = 0
- gplaybtnsprite = 0
- gFNEngBtnSprite = 28
- puppetSprite(gFNEngBtnSprite, 1)
- puppetSprite(48, 1)
- gCursorReady = 1
- gKnobSprite = 14
- gSendMovie = "08p"
- gKnobState = 1
- puppetSprite(gKnobSprite, 1)
- setUpKnob()
- set the mouseDownScript to EMPTY
- set the mouseUpScript to EMPTY
- sprite(28).visible = 0
- end
-
- on stopMovie
- global gplaybtnsprite, gFNEngBtnSprite, zeoIdle
- puppetSprite(gFNEngBtnSprite, 0)
- puppetSprite(sprite(11), 0)
- stopmovieqt()
- gplaybtnsprite = 23
- zeoIdle = 0
- end
-
- on idle
- global gCursorReady
- if gCursorReady = 1 then
- cursor(200)
- checkCursors()
- set the locH of sprite 48 to the mouseH
- set the locV of sprite 48 to the mouseV
- updateStage()
- end if
- qtidle()
- end
-
- on checkCursors
- global zeoIdle
- set the castNum of sprite 48 to the number of member "curs1"
- repeat with i = 15 to 17
- if rollOver(i) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end repeat
- if the castNum of sprite 12 and rollOver(12) then
- if the castNum of sprite 52 and (sprite(52).movieRate = 1) then
- set the castNum of sprite 48 to the number of member "nonCursor"
- else
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end if
- if rollOver(28) and zeoIdle then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- repeat with i = 19 to 25
- if the castNum of sprite i and (rollOver(i) and not zeoIdle) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end repeat
- repeat with i = 31 to 32
- if rollOver(i) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end repeat
- repeat with i = 40 to 42
- if rollOver(i) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end repeat
- if the castNum of sprite 47 and rollOver(47) then
- set the castNum of sprite 48 to the number of member "hotCursor"
- end if
- end
-